﻿<div class="controlBox">
    <div id="tabs">
        <ul class="navTab">
            <li><a href="#tabs-1">Most View</a></li>
            <li><a href="#tabs-2">Random</a></li>
            <li><a href="#tabs-3">Basic</a></li>
        </ul>
        <div id="tabs-1">
            <div id="calendar"></div>
        </div>
        <div id="tabs-2">
            <p>
                Helvitica 2</p>
        </div>
        <div id="tabs-3">
            <p>
                Helvitica 3</p>
        </div>
    </div>
</div>
<script language="javascript" type="text/javascript">
    $(function () {
        $('#tabs').tabs();
        $('#calendar').datepicker({
            onSelect: function (dateText, inc) {
                //TODO: display post in that day alert(dateText+";"+ inc);
            }
        });
    });
</script>
